package com.aaa.sbm.service;

import com.aaa.sbm.entity.StockOut;
import com.aaa.sbm.entity.StockOutDetail;
import com.aaa.sbm.util.Page;
import com.aaa.sbm.util.Result;

import java.util.List;

public interface StockOutService {

    int insertStockOut(StockOut stockOut);

    Result insertStockOutDetailIn(StockOutDetail stockOutDetail);

    Result getStockList(Page<StockOutDetail> page);

    Result updateStockOut(StockOutDetail stockInDetail);
    Result deleteStockOut(Integer id);

    Result batchStockOut(List<Integer> outIds);
}
